package action.custom;

import core.action.BaseAction;
import model.company.*;
import service.custom.CustomServiceDo;
import util.Sessions;

public class CustomActionDelete extends BaseAction{
	private CustomServiceDo customServiceDo;
	private Integer id;
	

	public String FLAG="EDIT";//标识为编辑
	
	private Companybasic cbasic;
	
	public String execute() {
		return "success";
	}
	
	public String companyshow(){
		Sessions.set("companyid",id);
		setCbasic(customServiceDo.companyShow(id));
		super.successResultValue="NewCompanyBasic";
		return "success";
	}

	public Companybasic getCbasic() {
		return cbasic;
	}

	public void setCbasic(Companybasic cbasic) {
		this.cbasic = cbasic;
	}
	public CustomServiceDo getCustomServiceDo() {
		return customServiceDo;
	}

	public void setCustomServiceDo(CustomServiceDo customServiceDo) {
		this.customServiceDo = customServiceDo;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

}
